import {
	AppstoreOutlined,
	CustomerServiceOutlined,
	ProjectOutlined,
	RollbackOutlined,
	OrderedListOutlined,
	CrownOutlined,
	UndoOutlined,
	BellOutlined,
	HeartOutlined,
	PlusSquareOutlined,
	HeartFilled,
	MessageFilled,
	SkinOutlined,
	CustomerServiceTwotone,
	PlayCircleFilled,
	MessageOutlined,
	StepForwardOutlined,
	StepBackwardFilled,
	PauseCircleFilled,
} from "@vicons/antd";
import { Bookmark, Podcast, Microphone, PlayCircle } from "@vicons/fa";
import {
	AudioFileRound,
	BackupRound,
	RadioRound,
	FileDownloadSharp,
	LibraryMusicFilled,
	MinimizeTwotone,
	CloseOutlined,
	MoreHorizOutlined,
} from "@vicons/material";
import { Radio, MailOutline, HeartDislike } from "@vicons/ionicons5";
import {
	Clock32Filled,
	Star20Filled,
	Maximize24Regular,
	Settings24Regular,
	ArrowMinimize28Regular,
	ArrowDownload16Regular,
	Play16Filled,
} from "@vicons/fluent";
const antdUsedIcons = {
	"Antd-CustomerServiceOutlined": CustomerServiceOutlined, //发现
	"Antd-AppstoreOutlined": AppstoreOutlined, //分类
	"Antd-ProjectOutlined": ProjectOutlined, //列表
	"Antd-RollbackOutlined": RollbackOutlined, //返回
	"Antd-OrderedListOutlined": OrderedListOutlined, //排行榜
	"Antd-CrownOutlined": CrownOutlined, //会员
	"Antd-UndoOutlined": UndoOutlined, //返回
	"Antd-BellOutlined": BellOutlined, //消息
	"Antd-HeartOutlined": HeartOutlined, //收藏
	"Antd-PlusSquareOutlined": PlusSquareOutlined, //添加
	"Antd-HeartFilled": HeartFilled, //收藏
	"Antd-Bookmark": Bookmark, //为我推荐
	"Antd-AudioFileRound": AudioFileRound, //音乐精选榜
	"Antd-BackupRound": BackupRound, //音乐盘
	"Antd-Radio": Radio, //播客
	"Antd-RadioRound": RadioRound, //私人漫游
	"Antd-MessageFilled": MessageFilled, //社区
	"Antd-Clock32Filled": Clock32Filled, //最近播放
	"Antd-Podcast": Podcast, //我的播客
	"Antd-Star20Filled": Star20Filled, //我的收藏
	"Antd-FileDownloadSharp": FileDownloadSharp, //我的下载
	"Antd-LibraryMusicFilled": LibraryMusicFilled, //本地音乐
	"Antd-Microphone": Microphone, //听歌识曲
	"Antd-MinimizeTwotone": MinimizeTwotone, //最小化
	"Antd-Maximize24Regular": Maximize24Regular, //最大化
	"Antd-ArrowMinimize28Regular": ArrowMinimize28Regular, //最大->最小
	"Antd-CloseOutlined": CloseOutlined, //关闭
	"Antd-MailOutline": MailOutline, //私信
	"Antd-Settings24Regular": Settings24Regular, //设置
	"Antd-SkinOutlined": SkinOutlined, //主题
	"Antd-CustomerServiceTwotone": CustomerServiceTwotone, //耳机
	"Antd-PlayCircleFilled": PlayCircleFilled, //播放
	"Antd-MessageOutlined": MessageOutlined, //评论
	"Antd-ArrowDownload16Regular": ArrowDownload16Regular, //下载
	"Antd-MoreHorizOutlined": MoreHorizOutlined, //更多
	"Antd-HeartDislike": HeartDislike, //取消收藏
	"Antd-StepForwardOutlined": StepForwardOutlined, //下一首
	"Antd-StepBackwardFilled": StepBackwardFilled, //上一首
	"Antd-Play16Filled": Play16Filled, //播放
	"Antd-PlayCircle": PlayCircle, //播放
	"Antd-PauseCircleFilled": PauseCircleFilled, //暂停
};

export function setupElIcon(app) {
	Object.keys(antdUsedIcons).forEach((item) => {
		app.component(`${item}`, antdUsedIcons[item]);
	});
}
